﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using DTO;

namespace InterfacesRegconition
{
    public interface IFeatureVectorCalculator
    {
        /// <summary>
        /// The host which manages plugins
        /// </summary>
        IRegconitionHost PluginHost { get; set; }
        /// <summary>
        /// The name of the plugin
        /// </summary>
        string PluginName { get; }
        /// <summary>
        /// The user control of the plugin
        /// </summary>
        UserControl PluginUserControl { get; }
        /// <summary>
        /// Initialize needed things for the plugin
        /// </summary>
        void Initialize();
        /// <summary>
        /// Dispose the plugin
        /// </summary>
        void PluginDispose();

        /// <summary>
        /// Calculate the feature vector in a list of vectors
        /// </summary>
        /// <param name="vectorList">List of input vectors</param>
        /// <returns>The feature vector</returns>
        Vector CalcFeatureVector(List<Vector> vectorList);
    }
}
